/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MYData.Entity.SystemModels;

namespace MYData.Entity.DomainModels
{
    [Entity(TableCnName = "申报数据模拟",TableName = "tb_project_baseinfo_imitate")]
    public partial class tb_project_baseinfo_imitate:BaseEntity
    {
        /// <summary>
        ///申报模拟数据id
        /// </summary>
        [Key]
        [Display(Name = "申报模拟数据id")]
        [MaxLength(64)]
        [Column(TypeName = "uniqueidentifier")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectId { get; set; } = new Snowflake.Core.IdWorker(1, 1).NextId().ToString();

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectName")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectNumber")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectNumber { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectDepartresult")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectDepartresult { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectDepartperson")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectDepartperson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="secretaryPhone")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string secretaryPhone { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectYear")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int projectYear { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectWriteperson")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectWriteperson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="specialMoney")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal specialMoney { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectSubject")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectSubject { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectEndtime")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime projectEndtime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectType")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectScoreunit")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectScoreunit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectUndertakeunit")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectUndertakeunit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectEntrust")]
       [Column(TypeName="bool")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public bool projectEntrust { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectRemark")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectRemark { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="touchPerson")]
       [Column(TypeName="bool")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public bool touchPerson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="personRemark")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string personRemark { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectPerson")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectPerson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectSecretary")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectSecretary { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectPersontype")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectPersontype { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectWritetime")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime projectWritetime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectMoney")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       [DisplayFormat(DataFormatString = "10,2")]
        public decimal projectMoney { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="supportMoney")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal supportMoney { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectStarttime")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime projectStarttime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectStudytype")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectStudytype { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectLevel")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectLevel { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="projectKind")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string projectKind { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Creator")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Modifier")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsDel")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsDel { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="isTs")]
       [Column(TypeName="bool")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public bool isTs { get; set; }

       
    }
}